package com.atguigu.lease.web.admin;

import com.atguigu.lease.common.minio.MinioProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.atguigu.lease.web.admin.mapper")
@SpringBootApplication
//@EnableConfigurationProperties(MinioProperties.class)
@ComponentScan(basePackages = {"com.atguigu.lease.common", "com.atguigu.lease.web.admin"})
public class AdminWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminWebApplication.class, args);
        System.out.println("启动成功~~~");
    }
}